package com.pianzhu.blockchainemr.mapper;

import com.pianzhu.blockchainemr.pojo.Param.EnrollParam;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface EnrollMapper {

    void enrollPatient(EnrollParam data, int userId);

    void enrollDoctor(Integer hospitalId, int userId);

    void enrollUser(EnrollParam data);

    int getUserId(EnrollParam data);
}
